const app = require("./app");

const { APP_PORT } = require("./config/config.default");

// 执行 `npm run build` 遍历require让ncc建立依赖关系，但不执行代码
if (process.env.BUILD) return;

app.listen(APP_PORT, () => {
  console.log(`server is running in http://localhost:${APP_PORT}`);
});
